package cn.iocoder.devlop.module.annual.report.record.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 年报记录 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ReportRecordBaseVO {

    @Schema(description = "标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "30741")
    private String id;

    @Schema(description = "注册号")
    @NotNull(message = "注册号不能为空")
    private String regno;

    @Schema(description = "年份", example = "2023")
    @NotNull(message = "填报年份不能为空")
    private String year;

    @Schema(description = "年报id")
    private String reportId;

    @Schema(description = "已填报项")
    private String fillingItem;

    @Schema(description = "是否为导入")
    private String isImp;
}
